{extend name="public:body" /}

{block name="header"}
  <div class="layui-tab layui-tab-brief">
    <ul class="layui-tab-title" style="padding:10px 0;height:30px;">
      <li><a href="{:url('user/index')}">会员列表</a></li>
      <li class="layui-this"><a href="{:url('user/add')}">新增账号</a></li>
    </ul>
  </div>
{/block}

{block name="body"}
<style>
  .layui-form-item .layui-input-inline {
    width: 500px;
  }
  [disabled] {
    cursor: not-allowed;
  }
  .layui-input-inline input{
  	 autocomplete:'off';
  }
	input{
		autocomplete:off;
	}
</style>
  <form class="form-horizontal" action="{:url('user/add')}" method="post">
    <div class="layui-form" style="margin-top:15px;">
		<div class="layui-form-item">
			<label class="layui-form-label">会员账号</label>
		<div class="layui-input-inline">
			<input class="layui-input" type="text" placeholder="账号ID：100089" name="uid" autocomplete='off';>
		</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">会员昵称</label>
			<div class="layui-input-inline">
			  <input class="layui-input" type="text"  placeholder="请输入昵称" name="username" autocomplete='off';>
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">会员手机号</label>
			<div class="layui-input-inline">
			  <input class="layui-input" type="number" placeholder="请输入手机号码" name="phone" autocomplete='off';>
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">账户余额</label>
			<div class="layui-input-inline">
			  <input class="layui-input" type="number" placeholder="请输入账户余额" name="balance" autocomplete='off';>
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">登录密码</label>
			<div class="layui-input-inline">
			  <input class="layui-input" type="password"  name="password" placeholder="请输入密码" autocomplete='off';>
			</div>
		</div>
		<div class="layui-form-item">
	        <label class="layui-form-label">用户状态</label>
	        <div class="layui-input-inline">
	            <input checked type="radio" name="status" value="0" title="允许登录">
	            <input type="radio" name="status" value="1" title="禁止登录">
	        </div>
    	</div>
		<div class="layui-form-item">
		    <label class="layui-form-label">用户权限</label>
		    <div class="layui-input-inline">
		        <input checked type="radio" name="type" value="0" title="普通账号">
		        <input  type="radio" name="type" value="1" title="透视账号">
		        <input  type="radio" name="type" value="2" title="好牌账号">
		        <input  type="radio" name="type" value="3" title="全部功能">
		    </div>
		</div>
		<div class="layui-form-item">
			<div class="layui-input-block">
			  <button type="button" class="layui-btn btn btn-primary ajax-post" autocomplete="off">
			    保存
			  </button>
			  <a class="layui-btn layui-btn-primary" href="JavaScript:history.go(-1)">返回</a>
			</div>
		</div>
	</div>
  </form>
{/block}
